package br.com.orion.sga.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import br.com.orion.sga.model.dao.VencimentoDao;
import br.com.orion.sga.model.entities.Vencimento;

@Service
public class VencimentoService {
	
	@Autowired
	private VencimentoDao vencimentoDao;
	
	/**
	 * @return all data of table vencimento
	 */
	public List<Vencimento> listAll() {
		return vencimentoDao.listAll();
	}

}
